#ifndef SERVERCLIENT_H
#define SERVERCLIENT_H

#include <QObject>
#include <QTcpSocket>
class ServerClient : public QObject
{
    Q_OBJECT
public:
    explicit ServerClient(QTcpSocket *cTcpClient);

signals:
    void sig_disconnected(ServerClient* pcClient);
private slots:
    void slot_disconnected();
    void slot_readReady();

public:
    QTcpSocket* m_cTcpClient;
};

#endif // SERVERCLIENT_H
